package com.vdong.shardingorder.vo.goods.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "添加商品", description = "添加商品")
public class AddGoodsReqVO {


    @ApiModelProperty(value = "商品名", required = true)
    private String name;

    @ApiModelProperty(value = "价格", required = true)
    private int price;

    @ApiModelProperty(value = "库存", required = true)
    private int stock;

    @ApiModelProperty(value = "状态,1:上架,0:下架", required = true)
    private int status;

}
